package com.atmc.config;

//import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
//
//import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig  {
    //分页插件 Mybatis-Plus3.4.0版本以上可以使用
//    @Bean
//    public MybatisPlusInterceptor mybatisplusinterceptor() {
//        MybatisPlusInterceptor mybatisPlusInterceptor= new MybatisPlusInterceptor();
//        PaginationInnerInterceptor paginationInnerInterceptor=new PaginationInnerInterceptor();
//        mybatisPlusInterceptor.addInnerInterceptor(paginationInnerInterceptor);
//        return mybatisPlusInterceptor;
//    }

}
